package com.personal.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "T_USER")
public class UserEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "header_photo")
    private String headerPhoto;
    @TableField(value = "user_name")
    private String userName;
    @TableField(value = "phone")
    private String phone;
    @TableField(value = "password")
    private String password;

    @TableField(exist=false)
    private String token;


}
